import './index.scss';
import Section from '../Section';
import ModelS from '../../assets/images/model-x.jpg';
import Model3 from '../../assets/images/model-3.jpg';
import ModelX from '../../assets/images/model-x.jpg';
import ModelY from '../../assets/images/model-y.jpg';
import SolarPanel from '../../assets/images/solar-panel.jpg';
import SolarRoof from '../../assets/images/solar-roof.jpg';
import Accessories from '../../assets/images/accessories.jpg';

const Home: React.FC = () => {
  return (
    <div className="home-container">
      <Section
        title="Model 3"
        description="Order Online fro Touchless Delivery"
        backgroundImage={Model3}
        leftBtnText="Custom order"
        rightBtnText="Exisiting inventory"
      />
      <Section
        title="Model S"
        description="Order Online fro Touchless Delivery"
        backgroundImage={ModelS}
        leftBtnText="Custom order"
        rightBtnText="Exisiting inventory"
      />
      <Section
        title="Model X"
        description="Order Online fro Touchless Delivery"
        backgroundImage={ModelX}
        leftBtnText="Custom order"
        rightBtnText="Exisiting inventory"
      />
      <Section
        title="Model Y"
        description="Order Online fro Touchless Delivery"
        backgroundImage={ModelY}
        leftBtnText="Custom order"
        rightBtnText="Exisiting inventory"
      />
      <Section
        title="Lowerst Cost Solar Panels in America"
        description="Money-back guarantee"
        backgroundImage={SolarPanel}
        leftBtnText="Oder now"
        rightBtnText="Learn more"
      ></Section>
      <Section
        title="Solar for New Roofs"
        description="Solar Roof Costs Less Than a New"
        backgroundImage={SolarRoof}
        leftBtnText="Oder now"
        rightBtnText="Learn more"
      ></Section>
      <Section
        title="Accessories"
        description=""
        backgroundImage={Accessories}
        leftBtnText="Shop now"
      ></Section>
    </div>
  );
};

export default Home;
